package haind;

import main.pak.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class HomeActivity extends Activity {
	@Override
	public void onCreate(Bundle savedInstanceState) { 
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_haind);

		
		Button btn1 = (Button)findViewById(R.id.button1);
		btn1.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent vIntent = new Intent(HomeActivity.this, GradesActivity.class);
				startActivity(vIntent);		
			}
		});
		Button btn2 = (Button)findViewById(R.id.button2);
		btn2.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent vIntent = new Intent(HomeActivity.this, PropertyAnimatedActivity.class);
				startActivity(vIntent);		
			}
		});

		Button btn3 = (Button)findViewById(R.id.button3);
		btn3.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent vIntent = new Intent(HomeActivity.this, PropertyAnimationByCodeActivity.class);
				startActivity(vIntent);		
			}
		});
	}
	
}
